﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ManYan.Application.Admin.Dto
{
    public class AdminLoginDto
    {
        [Required]
        [MinLength(5)]
        [MaxLength(10)]
        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName { get; set; }
        [Required]
        /// <summary>
        /// 用户密码
        /// </summary>
        public string UserPwd { get; set; }
    }
}
